home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group01a.txt / 000012_icon-group-sender _Wed May 17 07:44:01 2000.msg < prev    next >
Internet Message Format  |  2002-01-03  |  4KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id HAA00845
  4.     for icon-group-addresses; Wed, 17 May 2000 07:43:27 -0700 (MST)
  5. Message-Id: <200005171443.HAA00845@baskerville.CS.Arizona.EDU>
  6. From: "Ian Trudel" <ian.trudel@tr.cgocable.ca>
  7. X-Newsgroups: comp.lang.icon
  8. Subject: Re: Is Anyone Working On A Unicode Version Of Icon?
  9. X-Priority: 3
  10. X-MSMail-Priority: Normal
  11. X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
  12. X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
  13. Date: Wed, 17 May 2000 13:52:48 GMT
  14. X-Complaints-To: abuse@cgocable.ca
  15. X-Trace: carnaval.risq.qc.ca 958571568 24.226.208.172 (Wed, 17 May 2000 09:52:48 EDT)
  16. To: icon-group@optima.CS.Arizona.EDU
  17. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  18. Status: RO
  19. Content-Length: 2899
  20.  
  21. 1/ I ain't no C++ support, fellow, fan, or not even like the language. Let's
  22. not talk about it. ::)
  23. 2/ The point of my original post is not really Icon reimplementation, but
  24. adding a new feature to the language.
  25. 3/ I feel your post "hide" something, like transforming Icon to some OOP
  26. language. If we change Icon's nature, we're no longer having Icon. It'd be
  27. better to support Idol instead, in that concern.
  28. 4/ My point about platform availability was about backward compatibility. I
  29. know that nowaday's machines and system have C++ compilers available, but
  30. Icon also runs on older machines/systems.
  31. 5/ and finaly, speed issue only speaks by benchmarking.
  32.  
  33. > My main concern with the icon-to-C  compiler was size and speed: it's not
  34. > reasonable to use over a 3000 lines project which translate to >90000
  35. lines
  36. > of C, which then proceeds to exceed 80MB of memory to compile...
  37.  
  38. Actually, we should not forget one thing about Icon. Even though Icon looks
  39. to my eye pretty young, fresh and complete, the fact is the first
  40. implementation was made in 1979! I'm not sure when the C implemention has
  41. started, but it's sure old. Most concepts of Icon implementation just rocks,
  42. but it doesn't mean these are using the newer and better techniques.
  43.  
  44. > At a guess, the corresponding translation to C++ would be 10 times
  45. smaller,
  46. > and much more easy to tweak. But then, this means having someone with free
  47. > time on their hands, and knowing C++...
  48.  
  49. Well, I agree on this. But good C code can be just similar. A *small*
  50. reminder: C is a simple language, even though pointer arithmetics may drive
  51. some crazy, it has few keywords and structures. C++ is a complex language,
  52. it has full C compatibility, plus it has its own good and bad things. There
  53. is a *lot* of concepts in C++ and avanced one are even not usually convered
  54. by popular books.
  55.  
  56. There is many things that was not even concerned in the seventies and
  57. eighties, such as resuability, portability, information hidding and stuff.
  58. So, the techniques have lot changed and there is more and more valuable
  59. documents on the newer way of implementing old concepts (nowaday's GC
  60. implementations are just crazy, it almost worth any custom made memory
  61. management. There is just almost no reason to not use GC now ::).
  62.  
  63. You should also dig into Squeak's Virtual Machine source code. You'd
  64. probably be impressed how clean/clear their C implementation is made. Don't
  65. forget it's generated C code, for most parts. I guess they found no reason
  66. to implement it in C++. Squeak is much more portable than Icon, it runs on
  67. everything gcc do (and runs virtually the same on every platform!), the only
  68. exception is the need of bitblt functionalities.
  69.  
  70. Anyway, I still recall my primary concern was/is about dynamic primitive
  71. data types in Icon. Wouldn't it be nice if..
  72.  
  73. Cheer, ::)
  74. --
  75. Ian Trudel, aka BackOrder
  76. StarTrip Server Administrator
  77. http://startrip.gene6.com/
  78.  
  79.  
  80.